<extend  name="Public:base" />
<block name="title">首页</block> 
<block name="style">
	<style type="text/css"> 
	</style>
</block>
<block name="content"> 
	
	<ol class="breadcrumb">
	  <li><a href="__CONTROLLER__/index">管理员</a></li> 
	  <li class="active">{$title}</li>
	</ol>  
	<form action="__CONTROLLER__/save_data" method="post" class="form-horizontal">
			<input type="hidden" name="id" value="{$info.id}" />
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">用户名</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" name="user_name" value="{$info.user_name}" id="inputtext" placeholder="用户名">
			    </div>
			</div>
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">登录密码</label>
			    <div class="col-sm-10">
			      <input type="password" class="form-control" name="password" value="{$info.password}" id="inputtext" placeholder="登录密码">
			    </div>
			</div>
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">邮箱</label>
			    <div class="col-sm-10">
			      <input type="email" class="form-control"  name="email" value="{$info.email}" id="inputtext" placeholder="邮箱">
			    </div>
			</div>
			<div class="form-group">
				<label for="inputtext" class="col-sm-2 control-label">所属角色</label>
			    <div class="col-sm-8">
			    	<select name="role" id="" class="form-control">
			    		<option value="0">角色</option>
			    	</select>
			    </div>
			    <div class="col-sm-2"><a href="__CONTROLLER__/add_role" class="btn btn-info">添加角色</a></div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2">
					<button class="btn btn-info">保存</button>
					<a href="javascript:history.back()" class="btn btn-default">上页</a>
				</div>
			</div>
		</form>
</block>
